<@admin.header title="新增消息推送">
<@common.validate/>
<script type="text/javascript">
    var ajax = new App.common.ajax();
	
	function toSelect(){
		ajax.open("externalcontact/select.do?function=onSelect","选择纳税人",1000,500);
	}
	
	function onSelect(ids,names,tels){
		$('#phoneNumber').val(tels);
	}
</script>

</@admin.header>
<body>
    <div class="place">
        <span>位置：</span>
        <ul class="placeul">
            <li>
                <a href="${base}/right.do">首页</a>
            </li>
            <li>
                <a href="list.do">消息推送管理</a>
            </li>
            <li>
                <a href="#">新增消息推送</a>
            </li>
        </ul>
    </div>
	
	<form action="add.do" method="post" id="mainForm">
	    <div class="formbody">
	        <div class="formtitle">
	            <span>基本信息</span>
	        </div>
	        <ul class="forminfo">
	            <li>
	                <label class="field">消息接收人</label>
					<textarea id="phoneNumber" name="phoneNumber" cols="" rows="" onclick="toSelect();" class="textinput" style="width:347px;"></textarea>
	            </li>
				<li>
	                <label class="field">消息内容</label>
					<textarea name="content" cols="" rows="" class="textinput" style="width:347px;"></textarea>
	            </li>
	            <li>
	                <label class="field">
	                    &nbsp;
	                </label>
	                <input type="submit" class="btn" value="确认保存"/>
	            </li>
	        </ul>
	    </div>
	</form>
</body>
</html>